<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>图片放大特效</title>
		<link rel="stylesheet" href="big.css"/>
	</head>
	<body>
		<!--最外层大盒子-->
		<div id="box">
			<div id="smallBox">
				<!--小图-->
				<img src="small.jpg"/>
				<!--遮罩-->
				<div id="mask"></div>
			</div>
			<div id="bigBox">
				<!--大图-->
				<img src="big.jpg" id="bigImg"/>
			</div>
		</div>
		
		<script src="bigImg.js" type="text/javascript">
			
		</script>
	</body>
</html>
